<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/oa/apply.js';
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			
		}
	});
});
</script>
<div class="widget" style="margin:0px;">
	<div class="widget-content">
		<div class="table-title">
			<input type="hidden" id="apply_code" value="${(apply.code)!''}"/>
			<table class="table table-bordered animate2 fadeInUp" style="width:100%; text-align:left;">
				<tr>
					<td class="table-left" style="width:80px;">申请机构</td>
					<td>${(apply.ocn)!''}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						申请人：${(apply.an)!''}</td>
				</tr>
				<tr>
					<td class="table-left">标题</td>
					<td>${(apply.title)!''}</td>
				</tr>
				<tr>
					<td class="table-left">申请类型</td>
					<td><#if apply.sort == 1>消耗品 <#elseif apply.sort == 2>固定资产</#if></td>
				</tr>
				<#if (apply.auditStatusList?? && apply.auditStatusList?size gt 0)>
					<#list apply.auditStatusList as list>
						<#if list.remark??>
							<tr>
								<td class="table-left">驳回原因</td>
								<td>${(list.remark)!''}</td>
							</tr>
						</#if>
					</#list>
				</#if>
			</table>
			<table style="width:100%; margin-top:10px;" class="table table-bordered animate2 fadeInUp">
				<thead>
					<tr>
						<th style="text-align:center;">商品名称</th>
						<th style="text-align:center; width:32px;">数量</th>
					</tr>
				</thead>
				<tbody id="applyDetailListBody">
					<#if ((apply.adList)?? && apply.adList?size > 0)>
						<#list apply.adList as item>
						<tr class="rep">
							<td style="text-align:center;">${(item.gn)!''}</td>
							<td>${(item.count)!''}</td>
						</tr>
						</#list>
					</#if>
				</tbody>     
				<tr>
					<td colspan="2" style="text-align:center;">
						<a class="btn btn-info" href="javascript:;" onclick="javascript:sys_load_handle('apply');$.fn.colorbox.close();" ><i class="fontello-icon-block"></i> 关 闭</a>
					</td>
				</tr>
			</table>
		</div>
	</div>
</div>